package com.${projectName}.${moduleName}.service.${packageName}.service;

import com.hkbt.base.frame.service.HKService;
import com.hkbt.base.frame.domain.bo.PageBO;
import com.hkbt.base.frame.domain.param.DefaultPageParam;
import com.${projectName}.${moduleName}.param.${packageName}.${tableName}Param;
import com.${projectName}.${moduleName}.service.${packageName}.bo.${tableName}BO;
import java.util.List;

/**
 * ${comment}Service接口
 * @author ${author}
 */
public interface ${tableName}Service extends HKService {

    /**
    * 分页查询
    * @param param
    * @return
    */
    PageBO<${tableName}BO> get${tableName}Page(DefaultPageParam<${tableName}Param> param);

    /**
    * 查询List
    * @param param
    * @return
    */
    List<${tableName}BO> get${tableName}List(${tableName}Param param);

    /**
    * 获取详情
    * @param id
    * @return
    */
    ${tableName}BO get${tableName}ById(Long id);

    /**
    * 新增数据
    * @param param
    * @return
    */
    Long insert${tableName}(${tableName}Param param);

    /**
    * 修改数据
    * @param param
    * @return
    */
    Boolean update${tableName}(${tableName}Param param);

    /**
    * 删除数据
    * @param id
    * @return
    */
    Boolean delete${tableName}(Long id);


}
